package com.example.framework.baseController;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Api("Shiro权限测试接口")
public class ShiroTestController {
    //admin测试权限
    @RequestMapping("/admin/admin")
    public String admin() {
        return "admin/admin";
    }
    //test测试权限
    @RequestMapping("/test/test")
    public String test() {
        return "test/test";
    }
    //guest测试权限
    @RequestMapping("/guest/guest")
    public String guest() {
        return "guest/guest";
    }
}
